package com.lh.common;


import com.lh.process.engine.context.ProcessContext;
import com.lh.process.engine.process.DynamicProcessor;

public class DynamicProcessorDemo extends DynamicProcessor {

    @Override
    public void processInternal(ProcessContext context) {
        System.out.println("DynamicProcess " + context.get("nextId"));
    }

    @Override
    public String nextNodeId(ProcessContext context) {
        return context.get("nextId");
    }

}

